<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<h1 style="text-align:center">安装数据库</h1>
<form id="form1" name="form1" method="post" action="">
<input type="hidden" name="step" value="2" />
<table width="726" border="0" align="center" cellpadding="5" cellspacing="1" style="background: #555;">
  <tbody>
    <tr>
      <td width="126" bgcolor="#FFFFFF"><strong>数据库主机：</strong></td>
      <td width="577" bgcolor="#FFFFFF"><input name="dbhost" id="dbhost" type="text" value="localhost" />
        一般为localhost</td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><strong>数据库用户：</strong></td>
      <td bgcolor="#FFFFFF"><input name="dbuser" id="dbuser" type="text" value="root" /></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><strong>数据库密码：</strong></td>
      <td bgcolor="#FFFFFF"><div>
        <input name="dbpwd" id="dbpwd" type="text" onchange="TestDb()" />
      </div>
        <div id="dbpwdsta"></div></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><strong>数据表前缀：</strong></td>
      <td bgcolor="#FFFFFF"><input name="dbprefix" id="dbprefix" type="text" value="dadao_" />
        如无特殊需要,请不要修改</td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><strong>数据库名称：</strong></td>
      <td bgcolor="#FFFFFF"><div>
        <input name="dbname" id="dbname" type="text"  onchange="HaveDB()" />
      </div>
        <div id="havedbsta"></div></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><strong>数据库编码：</strong></td>
      <td bgcolor="#FFFFFF"><input type="radio" name="dblang" id="dblang_utf8" value="utf8" checked="checked" />
        <label for="dblang_latin1">UTF8</label>
        </td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF">&nbsp;</td>
      <td bgcolor="#FFFFFF"><input type="submit" name="button" id="button" value="提交" /></td>
    </tr>
  </tbody>
</table>
</form>
</body>
</html>
